//
//  ConsumerLock.h
//  PriceOnline
//
//  Created by Phuong Le on 1/11/13.
//  Copyright (c) 2013 WorkLikeDance. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ConsumerLock : NSObject

@property (atomic, readonly) BOOL finished;

- (void)consume:(void(^)(id object)) block;
- (void)produce:(id) object;
- (void)finish;

@end
